﻿using Controller.Model;
using DPS.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ControllerManageServer.Controller
{
    public interface IController
    {
        /// <summary>
        /// 启动
        /// </summary>
        void Start();
        /// <summary>
        /// 停止
        /// </summary>
        void Stop();
        /// <summary>
        /// 设置发送数据
        /// </summary>
        /// <param name="key"></param>
        /// <param name="iPacket"></param>
        void SetSendData(string key, ServerPacketModel iPacket);
        /// <summary>
        /// 获取键
        /// </summary>
        /// <returns></returns>
        string ToString();
    }
}
